home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’92 / Procedure Call Logger / Sample.make < prev    next >
Text File  |  1992-06-18  |  2KB  |  71 lines

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple Sample Application
  5. #
  6. #    Sample
  7. #
  8. #    [C]Sample.make    -    Make Source
  9. #
  10. #    Copyright © Apple Computer, Inc. 1989-1990
  11. #    All rights reserved.
  12. #
  13. #    Versions:    
  14. #                1.00                08/88
  15. #                1.01                11/88
  16. #                1.02                04/89    MPW 3.1
  17. #                1.03                02/90    MPW 3.2
  18. #
  19. #    Components:
  20. #                Sample.c            Feb.  1, 1990
  21. #                Sample.r            Feb.  1, 1990
  22. #                Sample.h            Feb.  1, 1990
  23. #                Sample.make            Feb.  1, 1990
  24. #
  25. #    Sample is an example application that demonstrates how to
  26. #    initialize the commonly used toolbox managers, operate 
  27. #    successfully under MultiFinder, handle desk accessories, 
  28. #    and create, grow, and zoom windows.
  29. #
  30. #    It does not by any means demonstrate all the techniques 
  31. #    you need for a large application. In particular, Sample 
  32. #    does not cover exception handling, multiple windows/documents, 
  33. #    sophisticated memory management, printing, or undo. All of 
  34. #    these are vital parts of a normal full-sized application.
  35. #
  36. #    This application is an example of the form of a Macintosh 
  37. #    application; it is NOT a template. It is NOT intended to be 
  38. #    used as a foundation for the next world-class, best-selling, 
  39. #    600K application. A stick figure drawing of the human body may 
  40. #    be a good example of the form for a painting, but that does not 
  41. #    mean it should be used as the basis for the next Mona Lisa.
  42. #
  43. #    We recommend that you review this program or TESample before 
  44. #    beginning a new application.
  45. #
  46. #     You can define {SymOptions} as "-sym on" or "-sym off" for use with SADE
  47. #     We also recommend requiring prototypes for all functions
  48. COptions = -r {SymOptions} -trace on
  49. ObjDir = :Objects:
  50. {ObjDir}    ƒ :
  51.  
  52. CObjs        = ∂
  53.         {ObjDir}Sample.c.o ∂
  54.         {ObjDir}BP_EP.c.o ∂
  55.         {ObjDir}BP_EP.a.o ∂
  56.         
  57.  
  58. Libs = ∂
  59.         "{Libraries}"Runtime.o ∂
  60.         "{Libraries}"Interface.o ∂
  61.         
  62.  
  63. Sample    ƒ {CObjs} Sample.make
  64.         Link -o {Targ} {CObjs} {Libs} {SymOptions}
  65.         Rez -rd -o {Targ} Sample.r -append
  66.         SetFile {Targ} -t APPL -c 'MOOS' -a B
  67.  
  68. Sample.c.o    ƒ Sample.c
  69. BP_EP.c.o    ƒ BP_EP.c BP_EP.h
  70. BP_EP.a.o    ƒ BP_EP.a
  71.